import Layout from '@/layout'

const pocketCamRoute =
{
  path: '/publicManagement',
  component: Layout,
  redirect: '/publicManagement',
  name: 'publicManagement',
  meta: {
    title: '公共管理',
    icon: 'table'
  },
  children: [
    {
      path: 'feedback',
      component: () => import('@/views/pocketCam/feedback'),
      name: 'feedback',
      meta: { title: '反馈信息', icon: 'table' }
    },
    {
      path: 'homePage',
      component: () => import('@/views/pocketCam/homePage'),
      name: 'homePage',
      meta: { title: '首页轮播图', icon: 'table' }
    },
    {
      path: 'dynamic-table',
      component: () => import('@/views/table/dynamic-table/index'),
      name: 'DynamicTable',
      meta: { title: 'Dynamic Table' }
    },
    {
      path: 'drag-table',
      component: () => import('@/views/table/drag-table'),
      name: 'DragTable',
      meta: { title: 'Drag Table' }
    },
    {
      path: 'inline-edit-table',
      component: () => import('@/views/table/inline-edit-table'),
      name: 'InlineEditTable',
      meta: { title: 'Inline Edit' }
    },
    {
      path: 'complex-table',
      component: () => import('@/views/table/complex-table'),
      name: 'ComplexTable',
      meta: { title: 'Complex Table' }
    }
  ]
}

export default pocketCamRoute
